package show;

import java.sql.Timestamp;

public class Msg {
	private String name;
	private String author;
	private int id;
	private java.sql.Timestamp date;
	private String txt;
	
	public Msg(String name, String author, String txt, Timestamp date,int id) {
		this.name = name;
		this.author = author;
		this.id = id;
		this.date = date;
		this.txt = txt;
	}
	
	public String getName() {
		return name;
	}
	public String getAuthor() {
		return author;
	}
	public int getId() {
		return id;
	}
	public Timestamp getDate() {
		return date;
	}
	public String getTxt() {
		return txt;
	}
}
